{* Extend our master template *}
{extends file="master.tpl"}

{* This block is defined in the master.php template *}
{block name=content}
    <div class="row">
        <div class="col-md-12">
            <form id="form" class="form-horizontal" method="post">
                <div class="panel panel-default">
                    {include file="components/panel_heading.tpl" title=$title sub_title=$sub_title}
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'key'|trans} <span class="asterisk">*</span></label>
                            <div class="col-sm-9">
                                <input type="text" name="key" value="{'key'|set_value}" class="form-control" placeholder="Type your key..." required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'name'|trans}</label>
                            <div class="col-sm-9">
                                <input type="text" name="name" value="{'name'|set_value}" class="form-control" placeholder="Type your name...">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'description'|trans}</label>
                            <div class="col-sm-9">
                                <input type="text" name="description" value="{'description'|set_value}" class="form-control" placeholder="Type your description...">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'group'|trans}</label>
                            <div class="col-sm-9">
                                <input type="text" name="group" value="{'group'|set_value}" class="form-control" placeholder="Type your group...">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">{'order'|trans}</label>
                            <div class="col-sm-9">
                                <input type="text" name="order" value="{'order'|set_value}" class="form-control" placeholder="Type your order...">
                            </div>
                        </div>
                    </div><!-- panel-body -->
                    {include file="components/panel_footer.tpl"}
                </div><!-- panel -->
            </form>
        </div>
    </div>
{/block}